##############################################################################
#
# ReportTo.pm
# ================
#
# Author: Steven Liang <stliang@gmail.com>
#
# Purpose:
#   ReportTo is a composite of different reporting modules
#   User can chose the type of reporting s/he wants to use
#
# Assumptions:
#
# Supported methods:
#   new($_release, $_build);
#
# Note:
#   Variable after ";" is optional variable and value after "||" is 
#   default value
#
##############################################################################

package ReportTo;
$VERSION = 1.01;

use strict;
use AutoTest::Exceptions;
use Report;
use ReportToLocal;

# Constructor: new
# Purpose:     Instantiate a ReportTo object
# Parameters:
#       1.) _release : Test image release information
#       2.) _build   : Test image build information
# Returns:    An instance of ReportTo class
sub new ($$) {
	my $class = shift;
	my $self = { };
	bless $self, $class;
	$self->{Local} = ReportToLocal->new($_[0], $_[1]);
	return $self;
}
